import React, { Component } from 'react';
import { 
  StyleSheet,
  Text,
  Image,
  TouchableOpacity, 
  Navigator,
  View
} from 'react-native';


export default class App extends Component {

	render(){
		return (
			<TouchableOpacity style={[styles.btn, ]} onPress={this._onPressButton.bind(this)}> 
				<Image style={styles.icon} source={require('./images/share.png')} />
				<Text style={styles.btnText}>分享</Text> 
			</TouchableOpacity>
			)

	}
}

const styles = StyleSheet.create({
	btn: {
		flexDirection: "row", 
		flex: 1,   
		alignItems: "center",
		justifyContent: "center",
	},
	btnText: {  
		textAlign: "center",
		lineHeight: 20
	},
	icon: {
		width: 25, 
		height: 25,
	},
})